package com.liyk.shop.feign;

import com.liyk.shop.response.Result;
import org.springframework.stereotype.Component;

@Component
public class ProductFeignServiceFallBack implements ProductFeignService {

    @Override
    public Result list() {
        return Result.serverException("hystrix熔断器异常");
    }
}
